const invoiceColumns = {
  list: [
    {
      title: '合同编号',
      dataIndex: 'contract_no',
      scopedSlots: { customRender: 'contract_no' }
    },
    {
      title: '开票金额',
      dataIndex: 'amount',
      scopedSlots: { customRender: 'amount' }
    },
    {
      title: '税费',
      dataIndex: 'invoice_taxation',
      scopedSlots: { customRender: 'invoice_taxation' }
    },
    {
      title: '开票公司',
      dataIndex: 'company_name',
      scopedSlots: { customRender: 'company_name' }
    },
    {
      title: '申请时间',
      dataIndex: 'created_at'
    },
    {
      title: '申请备注',
      dataIndex: 'notes'
    },
    {
      title: '审核信息',
      dataIndex: 'remarks'
    },
    {
      title: '物流信息',
      dataIndex: 'express_name',
      scopedSlots: { customRender: 'express_name' }
    },
    {
      title: '操作',
      dataIndex: 'action',
      scopedSlots: { customRender: 'action' }
    }
  ],
  contract: [
    {
      title: '合同编号',
      dataIndex: 'contract_no',
      scopedSlots: { filterDropdown: 'filterDropdown' }
    },
    {
      title: '客户姓名',
      dataIndex: 'customer_name',
      scopedSlots: { filterDropdown: 'filterDropdown' }
    },
    {
      title: '联系电话',
      dataIndex: 'phone1',
      scopedSlots: { filterDropdown: 'filterDropdown' }
    },
    {
      title: '注册名称',
      dataIndex: 'tm_name',
      scopedSlots: {
        customRender: 'tm_name',
        filterDropdown: 'filterDropdown'
      }
    },
    // {
    //   title: '合同金额',
    //   dataIndex: 'amount',
    //   sorter: true
    // },
    {
      title: '可开票金额',
      dataIndex: 'amount',
      sorter: true
    },
    {
      title: '代理费',
      dataIndex: 'agency_fee',
      sorter: true
    },
    // {
    //   title: '尾款',
    //   dataIndex: 'tail_money',
    //   sorter: true
    // },
    {
      title: '创建时间',
      dataIndex: 'created_at',
      sorter: true
    },
    {
      title: '合同审核时间',
      dataIndex: 'check_time',
      sorter: true
    },
    // {
    //   title: '状态',
    //   dataIndex: 'invoice_status',
    //   scopedSlots: { customRender: 'invoice_status' }
    // },
    {
      title: '操作',
      dataIndex: 'action',
      scopedSlots: { customRender: 'action' }
    }
  ],
  contractColumn: [
    {
      title: '合同编号',
      dataIndex: 'contract_no',
      scopedSlots: { customRender: 'contract_no' }
    },
    {
      title: '客户姓名',
      dataIndex: 'customer_name'
    },
    {
      title: '注册名称',
      dataIndex: 'tm_name',
      scopedSlots: { customRender: 'tm_name' }
    },
    {
      title: '联系电话',
      dataIndex: 'phone1',
      scopedSlots: { customRender: 'phone1' }
    },
    {
      title: '合同金额',
      dataIndex: 'amount',
      scopedSlots: { customRender: 'amount' }
    },
    {
      title: '可开票金额',
      scopedSlots: { customRender: 'amount' }
    },
    {
      title: '审核时间',
      dataIndex: 'check_time'
    },
    {
      title: '客户地址',
      dataIndex: 'address'
    }
  ]
}

export default invoiceColumns
